Strengthening the Semantics of UML Collaboration Diagrams

نویسندگان

  • Reiko Heckel
  • Stefan Sauer
چکیده

A serious weakness of the UML is the lack of appropriate means for specifying the semantics of operations in a class diagram and the interpretation of actions on a statechart diagram. As required in the corresponding request for proposals [11], such specification should describe the preand postconditions of operations and actions, their effect on the current state, as well as the calls or signals that are sent during their execution. The semantics of actions, like call or send actions, has to be the same in all models, that is, it should be specified once and for all on the meta level. As operations and their interpretation differ in every model, they have to be specified on the level of individual models. In both cases, it is desirable to use UML to specify the semantics: In the case of operations, it has to be given by application developers, i.e., users of the UML, who should not be forced to learn yet another notation. And by specifying the semantics of actions by UML diagrams on the meta level, people without a strong background in formal methods, like tool developers, teachers, and advanced users, could benefit from the semantics specification. With this motivation, in [8] a meta-modeling approach to the semantics of call actions in statechart diagrams is proposed which is based on collaboration diagrams. In a collaboration diagram, a collaboration specifying a graph of objects and links provides the context of an interaction describing the flow of messages and signals. The integration of structure and communication makes these diagrams suitable for specifying the semantics of operations and actions. However, the semantic weakness of collaboration diagrams, in particular concerning the collaboration part, limits their expressiveness and prevents their use for precise specifications. In fact, according to the UML specification [12], a collaboration is just the context of an interaction. It does not entail any structural requirements beside the obvious one that objects and links have to be present as soon as they are involved in an interaction. In this note, we sketch how, without changing the syntax, the semantics of collaboration diagrams can be strengthened (and formalized) in order to allow for the specification of preand postconditions and structural effects thus providing a powerful means for action semantics on both the model level and the meta model level.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Dynamic Meta Modeling: A Graphical Approach to the Operational Semantics of Behavioral Diagrams in UML

In this paper, dynamic meta modeling is proposed as a new approach to the operational semantics of behavioral UML diagrams. The dynamic meta model extends the well-known static meta model by a specification of the system’s dynamics by means of collaboration diagrams. In this way, it is possible to define the behavior of UML diagrams within UML. The conceptual idea is inherited from Plotkin’s st...

متن کامل

From MSC-2000 to UML 2.0 - The Future of Sequence Diagrams

This paper discusses how MSC-2000 could influence the Sequence Diagrams within UML 2.0, and why the UML 1.x semantics is partly inadequate for what is needed in the area of sequence charts. Extracts of a possible UML meta-model is shown and this can be understood as a conceptual model for MSC-2000 as well and an indication of an approach to the future MSC-2000 semantics. UML Collaboration Diagr...

متن کامل

Towards Dynamic Meta Modeling of UML Extensions: An Extensible Semantics for UML Sequence Diagrams

The Unified Modeling Language (UML) still lacks a formal and commonly agreed specification of its semantics that also accounts for UML’s built-in semantic variation points and extension mechanisms. The semantics specification of such extensions must be formally integrated and consistent with the standard UML semantics without changing the latter. Feasible semantics approaches must thus allow ad...

متن کامل

Strengthening UML Collaboration Diagrams by State Transformations

Collaboration diagrams as described in the official UML documents specify patterns of system structure and interaction. In this paper, we propose their use for specifying, in addition, pre/postconditions and state transformations of operations and scenarios. This conceptual idea is formalized by means of graph transformation systems and graph process, thereby integrating the state transformatio...

متن کامل

Integrating UML Statechart and Collaboration Diagrams Using Hierarchical Predicate Transition Nets

UML has become the standard object-oriented analysis and design language in software industry. However UML lacks a precise semantics that hinders error detection in the early stages of system development. Even worse, there is no clear definition of consistency criteria among various UML notations, and there are few examples of illustrating the use of various notations together. In this paper, w...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000